<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Person Page</title>
</head>
<body>
	<h1>Person Page</h1>
	<p>This is person page</p>
	<form:form method="POST" commandName="person-entity" action="process-person.html">
		<table>
		<tr>
			<td><form:label path="firstName">Name:</form:label></td>
			<td><form:input path="firstName"/></td>
			
		</tr>
		  <tr>
        	<td><form:label path="age">Age:</form:label></td>
        	<td><form:input path="age" /></td>
    	</tr>
		<tr>
			<td colspan="2">
				<input type="submit" value="Submit"/>
			</td>
			<td></td>
			<td></td>
		</table>
	</form:form>

</body>
</html>